package com.hxzy.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hxzy.common.core.domain.entity.Nationality;
import com.hxzy.system.domain.dto.NationalitySearchDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 国籍管理
 */
@Mapper
public interface NationalityMapper extends BaseMapper<Nationality> {

    IPage<Nationality> selectListAll(IPage<Nationality> page, @Param("dto")NationalitySearchDTO nationalitySearchDTO);

    int addNationality (@Param("dto")Nationality nationality);
}
